package com.avamanager.app.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.avamanager.common.annotation.Excel;
import com.avamanager.common.core.domain.BaseEntity;

/**
 * 学籍信息对象 app_student_place
 * 
 * @author FenvyYe
 * @date 2022-08-15
 */
public class AppStudentPlace extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学籍字段ID */
    private Long studentPlaceId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private Long studentId;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentName;

    /** 原年级 */
    @Excel(name = "原年级")
    private String gradeBefore;

    /** 原学校 */
    @Excel(name = "原学校")
    private String schoolBefore;

    /** 原学院 */
    @Excel(name = "原学院")
    private String collegeBefore;

    /** 变动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "变动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date changeTime;

    /** 变动原因 */
    @Excel(name = "变动原因")
    private String changeReason;

    /** 变动描述 */
    @Excel(name = "变动描述")
    private String changeDescription;

    public void setStudentPlaceId(Long studentPlaceId) 
    {
        this.studentPlaceId = studentPlaceId;
    }

    public Long getStudentPlaceId() 
    {
        return studentPlaceId;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setStudentName(String studentName) 
    {
        this.studentName = studentName;
    }

    public String getStudentName() 
    {
        return studentName;
    }
    public void setGradeBefore(String gradeBefore) 
    {
        this.gradeBefore = gradeBefore;
    }

    public String getGradeBefore() 
    {
        return gradeBefore;
    }
    public void setSchoolBefore(String schoolBefore) 
    {
        this.schoolBefore = schoolBefore;
    }

    public String getSchoolBefore() 
    {
        return schoolBefore;
    }
    public void setCollegeBefore(String collegeBefore) 
    {
        this.collegeBefore = collegeBefore;
    }

    public String getCollegeBefore() 
    {
        return collegeBefore;
    }
    public void setChangeTime(Date changeTime) 
    {
        this.changeTime = changeTime;
    }

    public Date getChangeTime() 
    {
        return changeTime;
    }
    public void setChangeReason(String changeReason) 
    {
        this.changeReason = changeReason;
    }

    public String getChangeReason() 
    {
        return changeReason;
    }
    public void setChangeDescription(String changeDescription) 
    {
        this.changeDescription = changeDescription;
    }

    public String getChangeDescription() 
    {
        return changeDescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("studentPlaceId", getStudentPlaceId())
            .append("studentId", getStudentId())
            .append("studentName", getStudentName())
            .append("gradeBefore", getGradeBefore())
            .append("schoolBefore", getSchoolBefore())
            .append("collegeBefore", getCollegeBefore())
            .append("changeTime", getChangeTime())
            .append("changeReason", getChangeReason())
            .append("changeDescription", getChangeDescription())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
